<template>
  <div class="home">
    <van-search v-model="value" placeholder="请输入搜索关键词" shape="round" />
  </div>
</template>

<script>
// @ is an alias to /src
// import HelloWorld from '@/components/HelloWorld.vue'
import { getHomeList } from '@/request/api'

export default {
  name: 'Home',
  data () {
    return {
      value: ''
    }
  },
  created () {
    getHomeList().then(res => {
      console.log(res)
      console.log('成功啦')
    }).catch(err => {
      console.log(err)
    })
  },
  components: {

  }
}
</script>
